-- damage
-- create by panyl
-- 伤害减少

return {
    apply = function(prop, baseValue)
        local v = prop[3];

        -- 返回减少的值，不能高于伤害
        return math.min(v, baseValue);
    end,

    record = function(target, prop, path)
        return false;
    end 
};
